 /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package engine.skill;

/**
 *
 * @author Administrator
 */
public class Skill
{

    //技能id
    private String shSkillKey = null;
    private int iSkillId = -1;
    private short iPlayerActId = -1;
    private int iSkillkeyIndex = -1;
     private byte iSkillkeyType = -1;
  
    //设置类型
    
    //获取技能ID

    public String getSkillActionKey()
    {
        return this.shSkillKey;
    }
    //设置技能id

    public void setSkillActionKey(String Skillkey)
    {
        this.shSkillKey = Skillkey;
    }
     public byte getSkillActionType()
    {
        return this.iSkillkeyType;
    }
    //设置技能id

    public void setSkillActionType(byte Skillkey)
    {
        this.iSkillkeyType = Skillkey;
    }
    public int getSkillActionId()
    {
        return this.iSkillId;
    }
    //设置技能id

    public void setSkillActionId(int SkillId)
    {
        this.iSkillId = SkillId;
    }
     public short getSkillPlayerActionId()
    {
        return (this.iPlayerActId == -1)?8:this.iPlayerActId;
    }
    //设置技能id

    public void setSkillPlayerActionId(short SkillId)
    {
        this.iPlayerActId = SkillId;
    }
     public void setSkillKeyIndex(int SkillkeyIndex)
    {
        this.iSkillkeyIndex = SkillkeyIndex;
    }
    public int getSkillKeyIndex()
    {
        return this.iSkillkeyIndex;
    }

//    public String getPramater(short id)
//    {
////        switch (id)
////            {
////            case 28:
////                return 8;
////            }
////        return 0;
//    }
}
